package com.woniu.bank.mapper;

import com.woniu.bank.dto.*;
import com.woniu.bank.entity.ClientInfoSheet;
import com.woniu.bank.vo.ClientInfoSheetRatedVO;
import com.woniu.bank.vo.RatedVO;

import java.util.List;
import java.util.Map;

/**
* @author wangheng
* @description 针对表【client_info_sheet(客户基本信息表)】的数据库操作Mapper
* @createDate 2023-01-03 16:56:02
* @Entity com.woniu.bank.entity.ClientInfoSheet
*/
public interface ClientInfoSheetMapper {
    List<ClientInfoSheet>selectAll(ClientInfoDTO clientInfoDTO);

    int deleteByPrimaryKey(Long id);

    int insert(ClientInfoSheet record);

    int insertSelective(ClientInfoSheet record);

    int selectPrimaryKeyByCdn(String clinetDocumentsNumber);

    ClientInfoSheet selectByPrimaryKey(Long id);

    ClientInfoSheet selectCisByCdn(String clinetDocumentsNumber);

    int updateByPrimaryKeySelective(ClientInfoSheet record);

    int updateByPrimaryKey(ClientInfoSheet record);

    List<ClientInfoSheetRatedVO>seleteKeHu(NewClientfoDTO newClientfoDTO);

    List<RatedVO> selectAdd(RatedDTO record);

    ClientInfoSheetRatedVO seleteOne(CmoDTO cmoDTO);

    int updateClientAndRated(ClientAndRatedDTO clientAndRatedDTO);

    ClientInfoSheet selectByClientDocumentsNumber(String number);

    List<ClientInfoSheetRatedVO>seleteAddKeHu(NewClientfoDTO newClientfoDTO);
    int updateStatus(Map<String,Object> map);
}
